public class RemoteControl {
    private double weight, range;
    private String color;

    public RemoteControl(double weight, double range, String color) {
        this.weight = weight;
        this.range = range;
        this.color = color;
    }

    public void open() {
        System.out.println("开机成功");
    }

    public void close() {
        System.out.println("关机成功");
    }

    public void change() {
        System.out.println("换台成功");
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getRange() {
        return range;
    }

    public void setRange(double range) {
        this.range = range;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}